.div1 {
    width: 19px;
    height: 19px;
    background-image: url("../images/icon.gif");
    margin: 10px;
}

.div1.active {
    background-position: 0 -34px;
}

.p1 {
    width: 18px;
    height: 18px;
    background-image: url("../images/radio.gif");
    margin: 10px 30px;
}

.p1.on {
    background-position: 0 -18px;
}

.double {
    display: flex;
}
span{
line-height: 35px;
text-align: center;
}